package com.hxy.dao;

import com.hxy.pojo.UserInf;

import java.util.List;

public interface UserInfMapper {
    Integer findEidByUsername(String username);

    int deleteByPrimaryKey(Integer id);

    int insert(UserInf record);

    UserInf selectByPrimaryKey(Integer id);

    List<UserInf> selectAll();

    int updateByPrimaryKey(UserInf record);

    UserInf findByUsername(String username);
    //根据用户名获取单个权限
    String findPermission(String username);
}
